package com.ruoyi.combat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课题四任务对象 combat_atlas_task
 * 
 * @author ruoyi
 * @date 2025-07-04
 */
public class CombatAtlasNewTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** ip */
    @Excel(name = "ip")
    private String ip;

    /** 方法 */
    @Excel(name = "方法")
    private String method;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 抗前 */
    @Excel(name = "抗前")
    private String befor;

    /** 抗后 */
    @Excel(name = "抗后")
    private String after;
    private String content;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBefor(String befor) 
    {
        this.befor = befor;
    }

    public String getBefor() 
    {
        return befor;
    }
    public void setAfter(String after) 
    {
        this.after = after;
    }

    public String getAfter() 
    {
        return after;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("method", getMethod())
            .append("type", getType())
            .append("startTime", getStartTime())
            .append("status", getStatus())
            .append("befor", getBefor())
            .append("after", getAfter())
            .append("endTime", getEndTime())
            .toString();
    }
}
